home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 17 / AMIGAplus Sonderheft 17 (1999)(ICP)(DE)[!].iso / asm_includes / rtgmaster / rtgmaster.i < prev    next >
Text File  |  1996-06-08  |  7KB  |  169 lines

  1. ;
  2. ;     $VER: rtgmaster.i 1.009 (04 Jun 1996)
  3. ;
  4.  
  5.         IFND    RTGMASTER_I
  6. RTGMASTER_I     SET     1
  7.  
  8.         IFND    UTILITY_TAGITEM_I
  9.         Include "utility/tagitem.i"
  10.         ENDC
  11.  
  12.         IFND    EXEC_LIBRARIES_I
  13.         Include "exec/libraries.i"
  14.         ENDC
  15.  
  16.         IFND    EXEC_TYPES_I
  17.         Include "exec/types.i"
  18.         ENDC
  19.  
  20.  
  21. * The TagItem ID's (ti_Tag values) for RtgScreenModeReq()
  22. *
  23. * If a tag is ommited the value in the square brackets will be used
  24. * as the default value.
  25.  
  26.     ENUM TAG_USER+1         ; smr_Tags (RtgScreenModeReq)
  27.  
  28.     EITEM smr_MinWidth      ;[320] This tag sets the minimum width in
  29.                             ;pixels which the user is allowed to select
  30.     EITEM smr_MaxWidth      ;[2048] This tag sets the maximum width in
  31.                             ;pixels which the user is allowed to select
  32.     EITEM smr_MinHeight     ;[200] This tag sets the minimum height in
  33.                             ;pixels which the user is allowed to select
  34.     EITEM smr_MaxHeight     ;[2048] This tag sets the maximum height in
  35.                             ;pixels which the user is allowed to select
  36.  
  37.     EITEM smr_PlanarRoundW  ;[16] RtgScreenModeReq will round user inputed
  38.                             ;values for Width to nearest higher multiple
  39.                             ;of thig tag for Planar display modes
  40.     EITEM smr_PlanarRoundH  ;[1] RtgScreenModeReq will round user inputed
  41.                             ;values for Height to nearest higher multiple
  42.                             ;of thig tag for Planar display modes
  43.  
  44.     EITEM smr_ChunkyRoundW  ;[1] RtgScreenModeReq will round user inputed
  45.                             ;values for Width to nearest higher multiple
  46.                             ;of thig tag for Chunky display modes
  47.     EITEM smr_ChunkyRoundH  ;[1] RtgScreenModeReq will round user inputed
  48.                             ;values for Height to nearest higher multiple
  49.                             ;of thig tag for Chunky display modes
  50.  
  51.     EITEM smr_ChunkySupport ;[0] This LONG is used to indicate which
  52.                             ;Chunky modes the user is allowed to select.
  53.                             ;A set bit means the mode is selectable.
  54.                             ;See the rtg_ChunkySupport tag for more
  55.                             ;information.
  56.  
  57.     EITEM smr_PlanarSupport ;[0] This LONG is used to indicate which
  58.                             ;Planar modes the user is allowed to select.
  59.                             ;A set bit means the mode is selectable.
  60.                             ;See the rtg_PlanarSupport tag for more
  61.                             ;information.
  62.  
  63.     EITEM smr_Buffers       ;[1] Using this tag you're can specify
  64.                             ;the number of buffers your application needs.
  65.                             ;Usually this ranges from 1-3.  Specify
  66.                             ;it here to filter out ScreenModes which can't
  67.                             ;handle the number of buffers you require.
  68.  
  69.     EITEM smr_ProgramUsesC2P;[TRUE] If the program doesn't use the c2p call you have
  70.                             ;to specify FALSE. In this case the c2p part of the
  71.                             ;window is hidden and the the current c2p module is not
  72.                             ;used when filtering the screen modes.
  73.  
  74.     EITEM smr_Dummy2        ; Deleted Tagitem
  75.  
  76.     EITEM smr_Dummy3        ; Deleted Tagitem
  77.  
  78.     EITEM smr_Dummy4        ; Deleted Tagitem
  79.  
  80. ;*******
  81. ; Attention: The following initial values are overwritten
  82. ; by the saved preferences if a valid preferences file
  83. ; is found.
  84.  
  85.     EITEM smr_InitialWidth  ;[320] Initial screen width
  86.                             ;The minimal/maximal selectable width is taken into account.
  87.  
  88.     EITEM smr_InitialHeight ;[200] Initial screen height
  89.                             ;The minimal/maximal selectable height is taken into account.
  90.  
  91.     EITEM smr_InitialDepth  ;[8] Log2 of number of colors
  92.     EITEM smr_InitialScreenMode ;[the first selectable screenmode]
  93.                                 ;Ptr to a string describing the ScreenMode
  94.                                 ;(this is essentially the string pointed to
  95.                                 ;by sm_Name)
  96.  
  97.     EITEM smr_InitialDefaultW   ;[TRUE] False if you don't want the Default
  98.                                 ;width gadget active.
  99.  
  100.     EITEM smr_InitialDefaultH   ;[TRUE] False if you don't want the Default
  101.                                 ;height gadget active.
  102.  
  103.     EITEM smr_PrefsFileName
  104.         ; ["RtgScreenMode.prefs"] (STRPTR)
  105.         ; Specifies the file where the selected screenmode is saved when the
  106.         ; user selects the save button
  107.  
  108.     EITEM smr_ForceOpen
  109.         ; [FALSE] If false, the screenmode requester reads the screenmode
  110.         ; from the file specified by smr_PrefsFileName and returns immediately.
  111.         ; The requester opens only in case of an error when reading the preferences
  112.         ; or when the user presses shift while the requester is called.
  113.         ; If true, the requester opens in any case and lets the user select a
  114.         ; new mode.
  115.  
  116.     EITEM smr_TitleText         ;["RTG Screenmode Requester"] (STRPTR)
  117.                                 ;The title text of the window
  118.  
  119.     EITEM smr_WindowLeftEdge    ;[0] The left edge of the requester window
  120.  
  121.     EITEM smr_WindowTopEdge     ;[0] The top edge of the requester window
  122.  
  123. ;End of RtgScreenModeReq() enumeration ***
  124.  
  125. *** End of RtgScreenModeReq() enumeration ***
  126.  
  127.  
  128.     
  129. * Execpt for the rb_LibBase structure this structure is private and for
  130. * the internal use of RtgMaster.library ONLY.  This structure will change
  131. * in the future.
  132.  
  133.  STRUCTURE RtgBase,0
  134.   STRUCT rb_LibBase,LIB_SIZE
  135.   ALIGNLONG
  136.   ULONG rb_SegList
  137.   APTR  rb_DosBase
  138.   APTR  rb_ExecBase
  139.   APTR  rb_GadToolsBase
  140.   APTR  rb_GfxBase
  141.   APTR  rb_IntBase
  142.   APTR  rb_UtilityBase
  143.   STRUCT rb_Track,8        ; Special memory tracking structure
  144.   APTR  rb_Libraries       ; Ptr to a list of RtgLibs structures
  145.   APTR  rb_FirstScreenMode ; Ptr to first ScreenMode structure
  146.   LABEL rb_SIZEOF
  147.  
  148. * This structure is private and for the internal use of RtgMaster.library
  149. * ONLY.  This structure will change in the future.
  150.  
  151.  STRUCTURE RtgLibs,0
  152.   APTR  rl_Next           ; Link to next structure
  153.   ULONG rl_ID
  154.   APTR  rl_LibBase
  155.   APTR  rl_SMList         ; Null if there aren't any screenmodes
  156.   APTR  rl_LastSM
  157.   UWORD rl_LibVersion
  158.   LABEL rl_SIZEOF
  159.  
  160. ;ECS_ID EQU     "ECS "
  161. ;AGA_ID EQU     "AGA "
  162. ;PICASSO_ID     EQU     "PICA"
  163. ;RETINA_ID      EQU     "RETI"
  164. ;MERLIN_ID      EQU     "MERL"
  165. ;EGS_ID EQU     "EGS "
  166. ;CYBGFX_ID      EQU     "CYBG"
  167.  
  168.         ENDC
  169.